<!-- Breadcrums -->
<?php $this->load->view('helpers/breadcrums.php'); ?>
<!-- Breadcrum -->
<div class="container">
	<div id="main">
		<div class="row">
			<div class="span12">
				<div class="w-box">
					<div class="w-box-content cnt_a">
						<div class="row-fluid">
							<div class="span4">
								<?php if ($success) { ?>
								<div class="alert alert-success">
								<h5>Thank you. Your inquiry has been submitted.</h5>
								</div>
								<?php } ?>
								<form class="form-horizontal" method="post"
									action="<?php echo base_url(); ?>email/contactform"
									enctype="multipart/form-data" id="validate_field_types_contact_page"><input
									type="hidden" name="action" value="sendenquiry">
									<fieldset>
									<div class="control-group"><label class="control-label req"
										for="inputTile">Title</label>
									<div class="controls"><select name="title" id="inputTile">
										<option value="Mr." selected="selected">Mr.</option>
										<option value="Mrs.">Mrs.</option>
										<option value="Ms.">Ms.</option>
										<option value="Mdm.">Mdm.</option>
										<option value="Dr.">Dr.</option>
									</select></div>
									</div>
									<div class="control-group"><label class="control-label"
										for="inputFirstname">First Name</label>
									<div class="controls"><input type="text" id="inputFirstname"
										name="firstname" placeholder="First Name" class="sepH_b"></div>
									</div>
									<div class="control-group"><label class="control-label"
										for="inputLastname">Last Name</label>
									<div class="controls"><input type="text" id="inputLastname"
										name="lastname" placeholder="Last Name"></div>
									</div>
									<div class="control-group"><label class="control-label"
										for="inputMobile">Mobile</label>
									<div class="controls"><input type="text" id="inputMobile" name="mobile"
										placeholder="Mobile"></div>
									</div>
									<div class="control-group"><label class="control-label" for="inputPhone">Phone
									Number</label>
									<div class="controls"><input type="text" id="inputPhone" name="phone"
										placeholder="Phone Number"></div>
									</div>
									<div class="control-group"><label class="control-label" for="inputEmail">Email Address</label>
									<div class="controls"><input type="text" id="inputEmail" name="email"
										placeholder="Email"></div>
									</div>
									<div class="control-group"><label class="control-label country"
										for="inputCountry">Country</label>
									<div class="controls"><select name="country" id="inputCountry">
										<option value="">[select]</option>
										<?php foreach($countries as $country) { ?>
										<option value="<?php echo $country->Name; ?>"
										<?php if($country->Name == "Indonesia") {echo 'selected="selected"';} ?>><?php echo $country->Name; ?></option>
										<?php } ?>
									</select></div>
									</div>
									<div class="control-group"><label class="control-label country"
										for="inputComment" placeholder="Comment">Comment</label>
									<div class="controls"><textarea name="comments" id="comments" cols="10"
										rows="3"></textarea></div>
									</div>
									<div class="control-group">
									<div class="controls">
									<button type="submit" class="btn btn-primary btn-large">Submit</button>
									</div>
									</div>
									</fieldset>
								</form>
							</div>
							<div class="span8 contact-page">
								<div class="row-fluid">								
									<div class="span4">
										<p <?php if(!isset($city) && empty($city)) {echo 'class="page_header office_header"';} else {echo 'class="page_header"';} ?>><a href="<?php echo base_url(); ?>contact-us.html"><strong><?php echo $office[0]['name']; ?></strong></a></p>
										<p class="">
										<?php echo $office[0]['content']; ?>
										</p>
									</div>
									<div class="span4">
										<p <?php if(isset($city) && $city == "bali") {echo 'class="page_header office_header"';} else {echo 'class="page_header"';} ?>><a href="<?php echo base_url(); ?>contact-us/location/bali"><strong><?php echo $office[1]['name']; ?></strong></a></p>
										<p class="">
										<?php echo $office[1]['content']; ?>
										</p>
									</div>
									<div class="span4">
										<p <?php if(isset($city) && $city == "surabaya") {echo 'class="page_header office_header"';} else {echo 'class="page_header"';} ?>><a href="<?php echo base_url(); ?>contact-us/location/surabaya"><strong><?php echo $office[2]['name']; ?></strong></a></p>
										<p class="">
										<?php echo $office[2]['content']; ?>
										</p>
									</div>
								</div>
								<?php if(isset($city) && $city == "bali") { ?>
								<div class="row-fluid">
									<div id="map_contact_us"></div>
									<input type="hidden" id="latListing" value="<?php echo $office[1]['lat']; ?>" /> 
									<input type="hidden" id="lngListing" value="<?php echo $office[1]['long']; ?>" />
								</div>
								<?php } elseif (isset($city) && $city == "surabaya") { ?>
								<div class="row-fluid">
									<div id="map_contact_us"></div>
									<input type="hidden" id="latListing" value="<?php echo $office[2]['lat']; ?>" /> 
									<input type="hidden" id="lngListing" value="<?php echo $office[2]['long']; ?>" />
								</div>
								<?php } else { ?>
								<div class="row-fluid">
									<div id="map_contact_us"></div>
									<input type="hidden" id="latListing" value="<?php echo $office[0]['lat']; ?>" /> 
									<input type="hidden" id="lngListing" value="<?php echo $office[0]['long']; ?>" />
								</div>
								<?php } ?>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
